package cn.bdqn.springboottemplate.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "user1")
public class User1 {
    private String phone;
    private String email;
}
